/**
 * 出牌提示面板
 */
class ShowCard extends eui.Component{
	public card: eui.Image;

	public constructor() {
		super();
		this.skinName = "ShowCardSkin";
	}

	public childrenCreated(): void {

	}
	public setData(d: number): void {
		this.visible = true;
		this.card.source = "mj_card_" + d + "_png";
		egret.Tween.get(this).wait(1000).call(() => {
			this.card.source = "";
			this.visible = false
		}, this);
	}
}